﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<ThesisSystem.Models.Thesis>" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title>删除论文信息</title>
    <%: Content.Csspt("searchstyle.css",Url) %>
    <link href="<%: Url.Content("~/Content/themes/base/jquery-ui.css")  %>" rel="stylesheet"
        type="text/css" />
    <link href="<%: Url.Content("~/Content/CSS/searchstyle.css") %>" rel="stylesheet"
        type="text/css" />
</head>
<body>
<div  class="Search_thesis">
    <h3>
        确定要删除以下信息吗？</h3>
    <div id="details_Del" class="sch_area">
        <table class="detail_tb">
            <tbody>
                <tr>
                    <th align="center" class="detail_th" width="50">
                        标题
                    </th>
                    <td width="400" colspan="3">
                        <%: Html.DisplayFor(model => model.ThesisTitle) %>
                    </td>
                    <th align="center" class="detail_th" width="45" >
                        评审状态
                    </th>
                    <td width="100">
                        <%:Html.DisplayFor(model => model.ReviewStatus) %>
                    </td>
                    <th align="center" class="detail_th" width="50">
                        得分
                    </th>
                    <td width="50">
                        <%:Html.DisplayFor(model => model.Score) %>
                    </td>
                </tr>
                <tr>
                    <th align="center" class="detail_th" width="60">
                        文件名
                    </th>
                    <td width="700" colspan="7">
                        <%:Html.DisplayFor(model => model.FileName) %>
                    </td>
                </tr>
                <tr>
                    <th align="center" class="detail_th" width="50">
                        类型
                    </th>
                    <td width="400" colspan="5">
                        <%:Html.DisplayFor(model => model.ThesisType) %>
                    </td>
                    <th align="center" class="detail_th" width="50">
                        大小
                    </th>
                    <td width="200">
                        <%:Html.DisplayFor(model => model.FileSize) %>
                    </td>
                </tr>
                <tr>
                    <th align="center" class="detail_th" width="80" colspan="2">
                        论文开始时间
                    </th>
                    <td width="200" >
                        <%:Model.StartDate.ToString("yyyy-MM-dd") %>
                    </td>
                    <th align="center" class="detail_th" width="80"  colspan="2">
                        论文结束时间
                    </th>
                    <td width="200">
                        <%:Model.EndDate.ToString("yyyy-MM-dd")%>
                    </td>
                    <th align="center" class="detail_th" width="60">
                        上传时间
                    </th>
                    <td width="200" >
                        <%:Html.DisplayFor(model => model.UploadDate) %>
                    </td>
                </tr>
            </tbody>
        </table>
           <% using (Html.BeginForm())
               { %>
        <p align="center" style="height: 30px; border: 1px solid #c3e1c9; margin: 1px; padding: 1px">
        <input id="btnDelete" type="submit" value="删除" />
                 <%: Html.ActionLink("返回列表", "Index", null, new { id="btnBack"})%> 
                  <input type="button" onclick="javascript:window.history.go(-1);" value="返回上一页" id="Back"/>
          </p>
          <% } %>
    </div>
    <%:Content.Script("jquery-min.js",Url) %>
    <%:Content.Script("jquery-ui-min.js",Url) %>
    <script type="text/javascript">
        $("#btnBack").button();
        $("#btnDelete").button();
        $("#Back").button();
    </script>
    </div>
</body>
</html> 
